<?php

namespace backend\modules\admin;

use yii\base\BootstrapInterface;

/**
 * Gallery module bootstrap class.
 */
class Bootstrap implements BootstrapInterface
{
    /**
     * @inheritdoc
     */
    public function bootstrap($app)
    {
        // Add module URL rules.
        $app->getUrlManager()->addRules(
            [
                ''               => 'admin/default/index',
                '<_m>/<_c>/<_a>' => '<_m>/<_c>/<_a>',
            ]
        );
    }
}
